﻿namespace Framework
{
    public class EventTargetMonoSingleton<T> : EventTargetMonoBehaviour  where T : EventTargetMonoSingleton<T>
    {
        public static T Instance;

        public override void Awake()
        {
            base.Awake();
            Instance = (T) this;
        }
    }
}